package com.fbt.andon.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工厂表
 * </p>
 *
 * @author 冯涛
 * @since 2021-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Plant对象", description="工厂表")
public class Plant implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id ")
    @TableId(value = "pk_id", type = IdType.ID_WORKER)
    private Integer pkId;

    @ApiModelProperty(value = "工厂号")
    @Excel(name = "工厂号", cellType = Excel.ColumnType.NUMERIC)
    private Integer planeNumber;

    @ApiModelProperty(value = "工厂名")
    @Excel(name = "工厂名", cellType = Excel.ColumnType.NUMERIC)
    private String plantName;

    @ApiModelProperty(value = "是否运行(1，运行，2停用)")
    @Excel(name = "是否运行", cellType = Excel.ColumnType.NUMERIC)
    private String isStatus;

    @ApiModelProperty(value = "该厂房所拥有的产线数量")
    private Integer ownLine;

    @ApiModelProperty(value = "地址")
    @Excel(name = "地址", cellType = Excel.ColumnType.NUMERIC)
    private String site;

    @ApiModelProperty(value = "工厂负责人")
    @Excel(name = "工厂负责人", cellType = Excel.ColumnType.NUMERIC)
    private String principal;

    @ApiModelProperty(value = "联系电话")
    @Excel(name = "联系电话", cellType = Excel.ColumnType.NUMERIC)
    private String phone;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @Excel(name = "创建时间", cellType = Excel.ColumnType.NUMERIC)
    private Date createTime;

    @ApiModelProperty(value = "创建者")
    private String createUser;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改者")
    private String updateUser;



}
